﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NDiskType.aspx.cs" Inherits="AnyOffice.Web.general.system.netdiskGX.NDiskType" %>

<%@ Register Src="../../../Control/CheckRight.ascx" TagName="CheckRight" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>网络硬盘类型</title>
</head>
<body class="bodycolor" style="padding-top:0;">
    <form id="form1" runat="server">
     <div class="main_div">
	 <div class="tab_tt">
	   <div class="tab_ti">网络硬盘类型管理</div>
	 </div>
    <table class="tab_pub" cellspacing="0" cellpadding="0" width="90%">
        <tr>
            <td nowrap class="TableHeader" align="center">
                目录名称
            </td>
            <td nowrap class="TableHeader" align="center" width="40%">
                物理路径
            </td>
            <td nowrap class="TableHeader" align="center" width="20%">
                操作
            </td>
        </tr>
        <asp:Repeater ID="rep_disktype" runat="server" OnItemCommand="rep_disktype_ItemCommand"
            OnItemDataBound="rep_disktype_ItemDataBound">
            <ItemTemplate>
                <tr class="TableLine1">
                    <td align="left">
                        <asp:Label ID="lblfiletype" runat="server" Text='<%#Eval("DiskTypeName")%>'></asp:Label>
                    </td>
                    <td align="left">
                        <%#Eval("BasePath")%>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtn_edit" CommandName="edit" CommandArgument='<%#Eval("DiskTypeID")%>'
                            runat="server">编辑</asp:LinkButton>&nbsp;
                        <asp:LinkButton ID="lbtn_del" CommandName="del" CommandArgument='<%#Eval("DiskTypeID")%>'
                         CssClass='<%#Eval("BasePath")%>'
                            runat="server" OnClientClick="if (!confirm('你确认删除吗?')) return false;">删除</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr class="TableLine2">
                    <td align="left">
                        <asp:Label ID="lblfiletype" runat="server" Text='<%#Eval("DiskTypeName")%>'></asp:Label>
                    </td>
                    <td align="left">
                        <%#Eval("BasePath")%>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtn_edit" CommandName="edit" CommandArgument='<%#Eval("DiskTypeID")%>'
                            runat="server">编辑</asp:LinkButton>&nbsp;
                        <asp:LinkButton ID="lbtn_del" CommandName="del" CommandArgument='<%#Eval("DiskTypeID")%>'
                         CssClass='<%#Eval("BasePath")%>'
                            runat="server" OnClientClick="if (!confirm('你确认删除吗?')) return false;">删除</asp:LinkButton>
                    </td>
                </tr>
            </AlternatingItemTemplate>
        </asp:Repeater>
    </table>
    <uc1:CheckRight ID="CheckRight1" runat="server" />
     </div>
    </form>
</body>
</html>
